/**
 * This is a sample class to demonstrate usage of SimpleRTTClient
 * 
 * Currently there are only 2 methods in SimpleRTTClient
 * 	- getRTT(String[] ip) 	measures RTTs of a list of hosts and prints results on screen
 * 	- getResult()			returns an array of array of RTTs measured for each host
 * 
 */

package edu.ucla.multicastim.rtt;

import java.io.IOException;

public class SimpleRTT {

	private static SimpleRTTClient src = new SimpleRTTClient();

	private static String[] ips;

	public static void main(String[] args) throws IOException {

		ips = new String[3];
		ips[0] = "192.168.1.101";
		ips[1] = "192.168.1.101";
		ips[2] = "192.168.1.101";

		src.getRTT(ips);

		int result[][] = src.getResult();

	}
}